#ifndef ZFRAMEWORK_H
#define ZFRAMEWORK_H

#include <QtWidgets/QMainWindow>
#include <QtCore/QSettings>
#include "ui_framework.h"

class Framework : public QMainWindow
{
	Q_OBJECT

public:
	Framework(QSettings* setting, QWidget *parent = 0);
	~Framework();

	void setSettings(QSettings* setting);
	void initSettings();

private:
    void initSystem();
    void loadMesh(QString fileName);

    void updateViews();

private slots:
    void slot_load_mesh();
    void slot_save_mesh();
    void slot_run_algorithm();
    void slot_run_analyse();
    void slot_load_data();

private:
	Ui::FrameworkClass ui;
	QSettings* setting_;
};

#endif // ZFRAMEWORK_H
